.home-view {
  background-image: url(../img/app/app-di.jpg);
  background-size: cover;
}

.home-head {
  height: 13%;
  position: relative; // background-image: url(../img/app/app-head-di.png);
  // background-size: cover;
  // background-position: center;
  font-size: 1.05rem;
  padding-left: 1rem;
  box-sizing: border-box;
  z-index: 999;
  .shuaishuai {
    right: 4%;
    top: 78%;
    width: 34%;
    position: absolute;
  } // background-repeat: no-repeat;
}

.home-scene {
  height: 0;
  position: relative; // .yun1 {
  //   left: 5%;
  //   top: 6%;
  //   width: 33%;
  //   animation-duration: 6s;
  // }
  // .yun2 {
  //   left: 72%;
  //   top: 20%;
  //   width: 19%;
  //   animation-duration: 4s;
  //   animation-delay: 6s;
  // }
}

.home-gamepad {
  height: 61%;
  position: relative; // padding-bottom: 3%;
}

.home-join {
  height: 14%;
  position: relative;
  text-align: center;
  box-sizing: border-box; // bottom: 14%;
  // padding-top: .8rem;
  .btn {
    width: 66%;
    margin-top: 4px;
  }
}

.rapid-join-flex {
  display: flex;
  align-items: center;
}

.home-nav {
  height: 14%;
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 0 0.2rem;
  box-sizing: border-box;
  .di {
    bottom: 0;
    left: 0;
    width: 100%;
  }
  .pure-g {
    position: relative;
    width: 100%;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    height: 100%;
    .pure-u-1-4 {
      position: relative;
      height: 100%;
      a {
        height: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        .btn {
          height: 66%;
        }
      }
    }
  }
}

.head-border {
  // width: 50%;
  // margin-top: .1rem;
  position: absolute;
  width: 90%;
  height: 4.5rem;
  z-index: -1;
  right: 0;
}

.head-border-img {
  width: 108%;
  height: 90%;
  padding-top: 4px;
}

.head-border-s {
  position: absolute;
  width: 90%;
  height: 1.5rem;
  z-index: 2;
  right: 2px;
  top: 47px;
}

.head-img-wrapper {
  height: 100%;
  padding-left: 0.2rem;
  flex-basis: 18%;
  position: relative;
  padding-top: 6px;
  margin-right: 8px;
}

.head-img {
  width: 86%;
  border-radius: 50%;
  top: 18%;
  position: absolute;
  left: 12%;
}

.info-bg {
  // background-image: url(../img/app/info-bg.png);
  position: absolute;
}

.userinfo-flexbox {
  display: flex;
  flex-direction: row;
  flex-flow: wrap;
  align-content: space-around;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  flex-basis: 26%;
  margin-right: 1%;
}

.diamond-flexbox {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  font-size: .9rem;
  padding-top: 4.6%;
}

// .info-level {
//   position: absolute;
//   left: .8rem;
//   top: .4rem;
//   // font-size: 1rem;
// }
.header-first {
  height: 1rem;
  background-image: url(../img/app/info-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 3px;
  text-align: center;
  width: 100%;
  font-size: .8rem;
  line-height: 1rem;
}

.header-lftid {
  height: 1rem;
  font-size: .8rem;
  color: #fefdc2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  background-image: url(../img/app/info-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 3px;
  text-align: center;
  width: 100%;
  line-height: 1rem;
}

.info-diamond-num {
  height: 1rem;
  background-image: url(../img/app/info-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 3px;
  text-align: center;
  width: 100%;
  font-size: .8rem;
  line-height: 1rem;
}

.info-header {
  height: 100%;
}

.info-content {
  // background-image: url(../img/app/head-frame.png);
  display: flex;
  align-content: center;
  justify-content: flex-start;
  background-position: 16px 6px;
  background-repeat: no-repeat;
  background-size: 56%;
  background-attachment: fixed;
  width: 24rem;
  height: 5rem;
}

.info-kuang {
  width: 90%;
  position: absolute;
}

.info-diamond {
  height: 12px;
  width: 18px;
  padding-right: 6px;
}

.group-name-ipt {
  width: 15rem;
  background: #5f4e3d;
  border-radius: 0.8rem;
  font-size: 1.3rem;
  padding: .5rem;
  box-shadow: inset 0px 0px 4px #2a2a2a;
  color: #b7b3af!important;
}


.home-join-wrapper {
  height: 100%;
}

.rapid-join-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2% 12%;
  z-index: 1;
}

.home-join-content .pure-g,
.room-enter-container .pure-g {
  justify-content: center;
}

.lower-frame {
  width: 89%;
  height: 102%;
  padding-left: 6%;
  position: absolute;
  left: 0;
}

.room-enter-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.club-join-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.home-join-content {
  width: 100%;
}

.club-head {
  margin-right: 0.4rem;
  position: relative;
  flex-basis: 18%;
}

.enter-club {
  width: 16%; // height: 3.2rem;
  position: relative;
  img {
    width: 100%;
    height: 100%;
  }
}

.enter-club-head {
  width: 80%;
  height: 80%;
  left: 0.2rem;
  top: 0.2rem;
  border-radius: 50%;
}

.club-details {
  display: flex;
  flex-direction: column;
  width: 69%;
  align-items: flex-start;
  z-index: 2;
}

.club-method {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  text-align: left;
}

.nav-selected {
  position: absolute;
  left: 0;
  top: -22px;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.is-android {
  .shuaishuai {
    width: 30%;
    top: 80%;
  }
  .home-head {
        height: 12%;
  }
  .rapid-join-wrapper {
    padding: 2% 10%;
  }
  .club-details {
    font-size: 0.8rem;
  }
  .home-gamepad {
    height: 58%;
  }

  .home-join {
    height: 17%;
    .btn {
      width: 66%;
      margin-top: 4px;
    }
  }
}

.app-qrcode-dialog-wrapper {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  
  .qrcode-dialog {
    width: 20rem;
    height: 30rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px 12px;
    background: #fff;
    display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
  .description {
    color: black;
    font-size: 16px;
  }
  .qrcode-close {
    right: 3px;
    top: 3px;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: white;
    color: #f44336;
    position: absolute;
  }
  .upload-actions {
    position: relative;
    width: 100%;
    text-align: center;
    button {
      border: none;
      width: 80%;
      height: 3rem;
      background: #23b923;
      border-radius: 8px;
      color: white;
      font-size: 1rem;
      box-shadow: 0 0 6px 1px #aaa;
    }
    input {
      opacity: 0;
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
    }
  }
    img {
      width: 18rem;
      height: 18rem;
    }
    #qrcode {
      // width: 80%;
      // height: 80%;
    }
  }
  &.upload-qrcode-wrapper {
    .qrcode-dialog {
      height: 8rem;
    }
  }
}


@media screen and (min-width: 350px) {
  // .home-nav {
  //   .btn {
  //     height: 5.4rem;
  //   }
  // }
  .diamond-flexbox {
    justify-content: flex-start;
    padding-bottom: 4%;
    flex-basis: 28%;
  }

  .userinfo-flexbox {
    padding-bottom: 8px;
    padding-top: 14px;
    box-sizing: border-box;
  }
  .is-android {
    .diamond-flexbox {
      padding-bottom: 4.2%;
    }
    .home-nav .btn {
      height: 4.1rem;
    }
  }
}


@media screen and (max-width: 350px) {
  // .home-nav {
  //   .btn {
  //     height: 4.7rem;
  //   }
  // }
  .diamond-flexbox {
    justify-content: flex-start;
    padding-bottom: 3%;
    flex-basis: 28%;
  }
  .userinfo-flexbox {
    padding-bottom: 2%;
    padding-top: 5%;
    box-sizing: border-box;
  }

  .header-first {
    font-size: .7rem;
  }
  .header-lftid {
    font-size: .7rem;
  }

  .info-diamond {
    height: 10px;
    width: 14px;
  }
  .info-diamond-num {
    font-size: .7rem;
    line-height: 9px;
  }
  .is-android {
    .header-lftid {
      font-size: .4rem;
    }
    .home-nav .btn {
      height: 3.8rem;
    }
  }
}


@media screen and (min-width: 414px) {
  // .home-nav {
  //   .btn {
  //     height: 4.9rem;
  //   }
  // }
  .diamond-flexbox {
    justify-content: flex-start;
    padding-bottom: 3%;
    padding-top: 5%;
    flex-basis: 28%;
  }
  .userinfo-flexbox {
    padding-bottom: 2%;
    box-sizing: border-box;
  }
  .home-head .shuaishuai {
    right: 4%;
    top: 72%;
    width: 30%;
  }
  .is-android {
    .home-nav .btn {
      height: 4.2rem;
    }
  }
}


@media screen and (min-width: 500px) {
  // .home-nav {
  //   .btn {
  //     height: 5.2rem;
  //   }
  // }
  .diamond-flexbox {
    justify-content: flex-start;
    padding-bottom: 3%;
    flex-basis: 28%;
  }
  .userinfo-flexbox {
    padding-bottom: 2%;
    padding-top: 17px;
    box-sizing: border-box;
  }
  .is-android {
    .header-lftid {
      font-size: .8rem;
    }
    .home-nav .btn {
      height: 4.6rem;
    }
  }
  .header-first {
    font-size: 1rem;
  }
  .header-lftid {
    font-size: .8rem;
  }

  .info-diamond {
    height: 10px;
    width: 14px;
  }
  .info-diamond-num {
    font-size: .8rem;
    line-height: 9px;
  }
}

@media screen and (min-width: 768px) {
  // .home-nav {
  //   .btn {
  //     height: 6.4rem;
  //   }
  // }
  .header-first {
    font-size: 1.3rem;
    height: 1.4rem;
  }
  .header-lftid {
    font-size: 1.2rem;
    height: 1.4rem;
  }

  .info-diamond {
    height: 20px;
    width: 30px;
  }
  .info-diamond-num {
    font-size: 1.3rem;
    line-height: 8px;

    padding-top: 2px;
    padding-bottom: 4px;
  }
  .userinfo-flexbox {
    padding-top: 30px;
  }
  .diamond-flexbox {
    padding-top: 7%;
  }

  .head-img-wrapper {
    flex-basis: 26%;
    .head-border-img {
      width: 108%;
      height: 104%;
    }
    .head-img {
      width: 5.4rem;
      height: 5.2rem;
      top: 16px;
      left: 15px;
    }
  }

  .userinfo-flexbox {
    flex-basis: 34%;
  }
  .info-content {
    height: 6rem;
  }
  .head-border {
    height: 6rem;
  }
}

@media screen and (min-width: 1080px) {
  .header-first {
    font-size: 1.3rem;
    height: 1.4rem;
  }
  .header-lftid {
    font-size: 1.2rem;
    height: 1.4rem;
  }

  .info-diamond {
    height: 20px;
    width: 30px;
  }
  .info-diamond-num {
    font-size: 1.3rem;
    line-height: 8px;

    padding-top: 2px;
    padding-bottom: 4px;
  }
  .userinfo-flexbox {
    padding-top: 30px;
  }
  .diamond-flexbox {
    padding-top: 7%;
  }

  .head-img-wrapper {
    flex-basis: 26%;
    .head-border-img {
      width: 108%;
      height: 104%;
    }
    .head-img {
      width: 5.4rem;
      height: 5.2rem;
      top: 16px;
      left: 15px;
    }
  }

  .userinfo-flexbox {
    flex-basis: 34%;
  }
  .info-content {
    height: 6rem;
  }
}